package com.hmkj.core.service.account;

import com.hmkj.core.po.account.AccountSimulation;
import com.hmkj.core.service.base.GenericService;

import java.math.BigDecimal;

/**
 * 模拟账户业务相关Service接口<br>
 *
 * @author eproo
 * @ClassName: AccountSimulationService
 * @date 2018-07-05 09:50:54
 */
public interface AccountSimulationService extends GenericService<Integer, AccountSimulation> {

    /**
     * 根据用户id查找
     *
     * @param userId
     * @return
     */
    AccountSimulation selectByUID(Integer userId);
    /**
     * 手动修改资金
     * @param accountSimulation
     * @param amount
     */
    void handEditAccount(AccountSimulation accountSimulation, BigDecimal amount);
}
